package com.zhuchaooasystem.presenter.home.fragment.oa.record;

import com.zhuchaooasystem.base.IPresenter;
import com.zhuchaooasystem.base.IView;
import com.zhuchaooasystem.entity.AudioInfo;
import com.zhuchaooasystem.entity.RecordEntity;

import java.util.List;

/**
 * @author yinsi
 */


public interface RecordContract {

    interface View extends IView {
        void setCurrentItem(int position);

        //切换
        void radioGroupChanged(int position);

        void refreshData(List<RecordEntity.ResultBean.SuccessfulBean> data);

        void loadMoreData(List<RecordEntity.ResultBean.SuccessfulBean> data);

        void onClickDelete(int position);

        void onLongClick(int position);

        void onClickPlay(int position);

        String getThemeContent();

        String getRemark();

        void setClickable(boolean clickable);

        List<AudioInfo> getAudioInfoList();

        void changeView();

        void uploadSuccuss();
    }

    interface Presenter extends IPresenter {
        void pagerChanged(int position);

        void getRecordList(int index);

        void upload();
    }
}
